Modern Web Development with Angular: Build Cutting-Edge, Scalable Web Apps from Scratch with Angular, TypeScript, and Reactive Programming by Duncan Faulkner & Pierre Bouillon
Author:Duncan Faulkner & Pierre Bouillon [Faulkner, Duncan & Bouillon, Pierre]
Language: eng
Format: epub
ISBN: 9788196815073
Publisher: Orange Education Pvt Ltd, AVA™
Published: 2024-12-15T00:00:00+00:00
Observables
Observables are the implementation of the pattern we mentioned earlier. While itâs possible to create one ourselves, RxJS comes with a lot of methods that return new Observables with various behaviors, saving us a lot of code and potential mistakes.
For instance, the of method creates a new Observable from a single value and emits it:
import { of } from 'rxjs';
const luckyNumber$ = of(13);
Note: Did you notice the $ sign after the Observable ? By convention, any variable that can be observed ends with an $. This naming helps to identify what is an observable and what is not.
of is just one of the many functions we can use to create an Observable . For example, interval(period) creates an Observable that will emit a number after a specified period, but others can create observables from events like a click, and much more. The full list can be accessed on the RxJS website at https://rxjs.dev/guide/operators .
Download
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.
Deep Learning with Python by François Chollet(12517)
Hello! Python by Anthony Briggs(9864)
OCA Java SE 8 Programmer I Certification Guide by Mala Gupta(9754)
The Mikado Method by Ola Ellnestam Daniel Brolund(9744)
Dependency Injection in .NET by Mark Seemann(9290)
Hit Refresh by Satya Nadella(8772)
A Developer's Guide to Building Resilient Cloud Applications with Azure by Hamida Rebai Trabelsi(8720)
Algorithms of the Intelligent Web by Haralambos Marmanis;Dmitry Babenko(8255)
Sass and Compass in Action by Wynn Netherland Nathan Weizenbaum Chris Eppstein Brandon Mathis(7742)
Test-Driven iOS Development with Swift 4 by Dominik Hauser(7738)
Grails in Action by Glen Smith Peter Ledbrook(7664)
The Well-Grounded Java Developer by Benjamin J. Evans Martijn Verburg(7513)
The Kubernetes Operator Framework Book by Michael Dame(7288)
Exploring Deepfakes by Bryan Lyon and Matt Tora(7074)
The Complete Stick Figure Physics Tutorials by Allen Sarah(7066)
Implementing Enterprise Observability for Success by Manisha Agrawal and Karun Krishnannair(6996)
Practical Computer Architecture with Python and ARM by Alan Clements(6995)
Robo-Advisor with Python by Aki Ranin(6966)
Building Low Latency Applications with C++ by Sourav Ghosh(6848)
